package com.xjgc.msibase.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xjgc.msibase.entity.MsiServerTask;
import com.xjgc.msibase.vo.MsiServerTaskExoServer;
import org.apache.ibatis.annotations.Param;

/**
 * @Description: 中间库WebService服务任务号
 * @Author: 小逗号
 * @Date: 2023-11-03
 * @Version: V1.0
 */
public interface MsiServerTaskMapper extends BaseMapper<MsiServerTask> {
    /**
     * 查询分发任务
     *
     * @param serverCode
     * @param taskCode
     * @return
     */
    MsiServerTaskExoServer selectTaskExoServer(@Param("serverCode") String serverCode, @Param("taskCode") String taskCode);

    /**
     * 查询分发任务
     * @param page
     * @param queryAo
     * @return
     */
    IPage<MsiServerTaskExoServer> selectTaskExoServerPage(@Param("page") IPage<MsiServerTaskExoServer> page, @Param("queryAo") MsiServerTaskExoServer queryAo);

}
